package com.xsy.android.compose.wandroid.ui.main.compose

import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.navigationBarsPadding
import androidx.compose.foundation.layout.padding
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp

/**
 *@author: xiaosy
 *时间: 2024/7/8
 *@Description: java类作用描述
 *@Version: 1.0
 **/
@Composable
fun BottomNavigation(modifier: Modifier = Modifier, content: @Composable () -> Unit) {
    Row(
        modifier = modifier
            .fillMaxWidth()
            .padding(4.dp, 0.dp)
            .navigationBarsPadding()
    ) {
        content()
    }
}